up: embedded systems - bacnet - message formats - bacnet-ip  
embedded systems - bacnet - Application TagWhat links here?
The Application tag encodes the datatype and length.

+---+---+---+---+---+---+---+---+
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
+---+---+---+---+---+---+---+---+
|   tag type    | c |   l/v/t   |
+---+---+---+---+---+---+---+---+


offsetmeaning
0 bits 7 - 4tag type
0 bit 3class = 0 means application tag
0 bits 2 - 0length, value, or type


Class
0 indicates an application tag. The tag number indicates the type.
1 indicates a context specific tag.

Sample Application tag:
C4 02 00 1B 90
C4 => 1100 0100
      tttt clll


fielddatavalue
tttttag kind0xC = BACnetObjectIdentifier
cclass0 = Application Tag
llllength4


02001B90Object type(top 10 bits) = 8 (device)
02001B90Instance Number(bottom 22 bits) = 7056

Tag Types
numbermeaning
0Null
1Boolean
2unsigned integer
3signed integer
4real
5double
6Octet String
7Character String
8Bit String
9Enumerated
10Date
11Time
12BACnetObjectIdentifier
13reserved for ASHRAE
14
15



See Also:
embedded systems - bacnet - Context Tag
embedded systems - bacnet - PD tags
embedded systems - bacnet - tag decoder

embedded systems - bacnet - Application Tag
filename:embedded systems - bacnet - Application Tag
filename:embedded%20systems%20%2D%20bacnet%20%2D%20Application%20Tag
last edit:June 04 2015 21:13:17 (3258 days ago)
ct = 1714962866.000000 = May 05 2024 22:34:26
ft = 1433466797.000000 = June 04 2015 21:13:17
dt = 281496069.000000